//
//  adAndLanuch.h
//  One Construction
//
//  Created by apple on 2019/9/11.
//  Copyright © 2019 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <XHLaunchAd/XHLaunchAd.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN

@interface adAndLanuch : UIView
////@property(nonatomic,copy)xhla clickBlock;
///**
// *  广告frame
// */
//@property (nonatomic, assign) CGRect adFrame;
//
//
//- (instancetype)initWithFrame:(CGRect)frame andDuration:(CGFloat)duration;
//
///**
// *  设置广告图片urlString
// *
// *  @param imgUrlString   图片urlString
// *  @param completedBlock 异步加载图片完成回调
// */
@property(nonatomic,copy)XHLaunchImageAdConfiguration *ad;

- (void)creatAd;


@end

NS_ASSUME_NONNULL_END
